{% extends "sil29VitrineBundle::layout.html.twig" %} {% block content %}

	<div class="span9">
    <ul class="breadcrumb">
		<li><a href="{{ path('sil29_vitrine_homepage') }}">Accueil</a> <span class="divider">/</span></li>
		<li class="active">Login</li>
    </ul>
	<h3> Login</h3>	
	<hr class="soft"/>
	
	<div class="row">
		<div class="span1"> &nbsp;</div>
		<div class="span8">
			<div class="well">
			<h5>Nouveau client ?</h5><br/>
			<a href="{{ path('user_new') }}">Cliquez ici pour vous enregistrer</a><br/>
			<h5>Déjà Client ?</h5>
						
			{% if error %}
			<div>{{ error.message }}</div>
			{% endif %}
			
			<form action="{{ path('login_check') }}" method="post">
			  <div class="control-group">
				<label class="control-label" for="inputLogin1">Login</label>
				<div class="controls">
				  <input class="span3"  type="text" id="inputLogin1" placeholder="Login" name="_username">
				</div>
			  </div>
			  <div class="control-group">
				<label class="control-label" for="inputPassword1">Password</label>
				<div class="controls">
				  <input type="password" class="span3"  id="inputPassword1" placeholder="Password" name="_password">
				</div>
			  </div>
			  <div class="control-group">
				<div class="controls">
				  <button type="submit" class="btn">Connexion</button>
				</div>
			  </div>
			  <input type="hidden" name="_target_path" value="/" />
			</form>
		</div>
		</div>
	</div>	
	
</div>
</div></div>
</div>
{% endblock %}